package com.elder.business.service;

import java.util.List;

import com.alibaba.fastjson2.JSONObject;
import com.elder.business.domain.ElderlyApartmentActivities;
import com.elder.business.domain.ElderlyApartmentActivitiesVO;
import com.elder.common.core.domain.AjaxResult;
import com.elder.common.core.page.TableDataInfo;

/**
 * 公寓活动Service接口
 * 
 * @author zyk
 * @date 2023-11-26
 */
public interface IElderlyApartmentActivitiesService 
{
    /**
     * 查询公寓活动
     * 
     * @param id 公寓活动主键
     * @return 公寓活动
     */
    public JSONObject selectElderlyApartmentActivitiesById(Long id);

    /**
     * 查询公寓活动列表
     * 
     * @param elderlyApartmentActivities 公寓活动
     * @return 公寓活动集合
     */
    public List<ElderlyApartmentActivities> selectElderlyApartmentActivitiesList(ElderlyApartmentActivities elderlyApartmentActivities);

    /**
     * 新增公寓活动
     * 
     * @param elderlyApartmentActivities 公寓活动
     * @return 结果
     */
    public int insertElderlyApartmentActivities(ElderlyApartmentActivitiesVO elderlyApartmentActivities);

    /**
     * 修改公寓活动
     * 
     * @param elderlyApartmentActivities 公寓活动
     * @return 结果
     */
    public int updateElderlyApartmentActivities(ElderlyApartmentActivitiesVO elderlyApartmentActivities);

    /**
     * 批量删除公寓活动
     * 
     * @param ids 需要删除的公寓活动主键集合
     * @return 结果
     */
    public int deleteElderlyApartmentActivitiesByIds(Long[] ids);

    /**
     * 删除公寓活动信息
     * 
     * @param id 公寓活动主键
     * @return 结果
     */
    public int deleteElderlyApartmentActivitiesById(Long id);

    public TableDataInfo getApartmentActivitiesList(String startTime,String endTime, String activityName, String leaderName, Integer pageNum, Integer pageSize,String applyStatus);

    public JSONObject uploadActVideo(ElderlyApartmentActivitiesVO elderlyApartmentActivitiesVO);

    public JSONObject getActivitiesVideo(Long activityId);

    AjaxResult approval(Long activityId, String applyStatus, String notes);
}
